package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sk.bilibili.bean.interfaces.PraiseAble;
import com.sk.bilibili.other.ExtraMap;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
* @author 邵康
* @date 2021/11/25 10:15
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Discuss implements PraiseAble {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer memberId;
    @ApiModelProperty("0视频评论  1番剧评论   2图文Note评论   3评论的评论    ")
    private Integer type;
    private Integer targetId;
    private Integer praiseNum;
    private String comment;
    @TableField(fill = FieldFill.INSERT)
    private Long createDate;
    @TableField(exist = false)
    private ExtraMap extra=new ExtraMap();

}
